from django.conf.urls import url
from apps.oauth import views

urlpatterns = [
    url(r'^qq/login/$', views.QQAuthURLView.as_view(), name='qq认证网页'),
    url(r'^sina/login/$', views.SinaUrlView.as_view(), name='sina认证网页'),
    url(r'^oauth_callback/$', views.QQAuthUserView.as_view(), name='qq认证返回'),
    url(r'^sina_callback/$', views.SinaUserView.as_view(), name='sina认证返回'),
]
